﻿using System;
using System.Runtime.InteropServices;

namespace Contoso.VisualStudio
{
    [ComImport, Guid("BED89B98-6EC9-43CB-B0A8-41D6E2D6669D"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface IVsGeneratorProgress
    {
        void GeneratorError(bool fWarning, [MarshalAs(UnmanagedType.U4)] int dwLevel, [MarshalAs(UnmanagedType.BStr)] string bstrError, [MarshalAs(UnmanagedType.U4)] int dwLine, [MarshalAs(UnmanagedType.U4)] int dwColumn);
        void Progress([MarshalAs(UnmanagedType.U4)] int nComplete, [MarshalAs(UnmanagedType.U4)] int nTotal);
    }
}
